package com.vhall.component.dao.room;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.vhall.component.entity.room.RoomConfig;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author bp.wangshuai1
 * @date 2022/3/11 15:44
 * @description
 */
@Repository
@Mapper
public interface RoomConfigMapper extends BaseMapper<RoomConfig> {

    /**
     * 批量插入数据
     *
     * @param list
     * @return
     */
    int batchInsert(@Param("list") List<RoomConfig> list);
}